package com.weixing.mall.provider.support.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.core.enums.OrderSysTagEnum;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.AfterSaleAuditEnum;
import com.weixing.mall.provider.model.enums.AfterSalesTypeEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.net.URL;
import java.util.Date;

/**
 * @author 0202
 * @Description
 **/
@Data
@ContentRowHeight(100)
public class AfterSaleED {

    @ExcelProperty(value = "订单编号")
    private String orderSn;

    @ExcelProperty(value = "流水号")
    private String outTradeNo;

    @ExcelProperty(value = "商品名称")
    private String productName;

    @ExcelProperty(value = "货号")
    private String goodsSn;

    @ExcelProperty(value = "款号")
    private String styleNo;

    @ExcelProperty(value = "图片")
    private URL img;

    @ExcelProperty(value = "颜色尺码")
    private String productSkuDesp;

    @ExcelProperty("颜色")
    private String color;
    @ExcelProperty("尺码")
    private String size;

    @ExcelProperty(value = "订单金额")
    private BigDecimal orderPrice;

    @ExcelProperty(value = "所属客服")
    private String customerName;

    @ExcelProperty(value = "审核时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date afterAuditedTime;

    @ExcelProperty(value = "下单人")
    private String buyer;

    @ExcelProperty(value = "下单类型")
    private String orderType;

    @ExcelProperty(value = "售后类型")
    private String afterSaleType;

    @ExcelProperty(value = "活动名称")
    private String actName;

    @ExcelProperty(value = "售后时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ExcelProperty(value = "变更时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    @ExcelProperty(value = "所属代理商")
    private String agentName;

    @ExcelProperty(value = "客户姓名")
    private String contactUser;

    @ExcelProperty(value = "客户手机号")
    private String contactPhone;

    @ExcelProperty(value = "订单状态")
    private String orderStatus;

    @ExcelProperty(value = "所属发货员")
    private String shipperName;

    @ExcelProperty(value = "快递方式")
    private String expressName;

    @ExcelProperty(value = "售后状态")
    private String status;

    @ApiModelProperty(value = "标签状态")
    private String sysTag;
}
